package cn.btks.resultintegration.catalog.service;

import cn.btks.resultintegration.catalog.dto.CatalogWithFileTreeDto;
import cn.btks.resultintegration.catalog.dto.FileCatalogDto;

import java.util.List;

/**
 * @Author lijun
 * @Date 2020/12/14 17:17
 */
public interface FileCatalogService {

    /**
     * 查询所有目录
     * @return
     */
    List<FileCatalogDto> findAll();

    /**
     * 查询所有目录信息(树结构,包含文件)
     * @return
     */
    List<CatalogWithFileTreeDto> findCatalogWithFileTree();

    /**
     * 根据目录ID查询所有目录信息(树结构,包含文件)
     * @param id
     * @return
     */
    List<CatalogWithFileTreeDto> findCatalogWithFileTreeByCatalogId(Long id);
}
